package com.qianfeng.db1.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qianfeng.db1.mapper.UsersMapper;
import com.qianfeng.pojo.Users;
@Service
public class UsersServiceImpl implements UsersService {

	
	@Autowired
	private UsersMapper usersMapper;
	@Override
	public void saveUser(Users user) {
		usersMapper.addUser(user.getName(), user.getPassword());
		
	}

}
